package com.itheima.Zuoye01;
/*
属性：品牌、型号、颜色、售价、电机类型、洗涤容量
 */
public class Xiyiji extends Electric {
    String dianji;
    String rongl;

    public Xiyiji() {
    }

    public Xiyiji(String brand, String xinghao, String color, double price, String dianji, String rongl) {
        super(brand, xinghao, color, price);
        this.dianji = dianji;
        this.rongl = rongl;
    }

    public String getDianji() {
        return dianji;
    }

    public void setDianji(String dianji) {
        this.dianji = dianji;
    }

    public String getRongl() {
        return rongl;
    }

    public void setRongl(String rongl) {
        this.rongl = rongl;
    }
}
